package com.shopping.hotItem.bean;

/**
 * 用户行对象
 *
 * 543462,1715,1464116,pv,1511658000
 */
public class UserBehavior {

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 商品id
     */
    private Long itemId;

    /**
     * 加密后的商品所属类别id
     */
    private Integer categoryId;

    /**
     * 用户行为类型，包括（pv，buy,cart,fav）
     */
    private String behavior;

    /**
     * 时间戳
     */
    private Long timeStamp;

    public UserBehavior() {
    }

    public UserBehavior(Long userId, Long itemId, Integer categoryId, String behavior, Long timeStamp) {
        this.userId = userId;
        this.itemId = itemId;
        this.categoryId = categoryId;
        this.behavior = behavior;
        this.timeStamp = timeStamp;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getBehavior() {
        return behavior;
    }

    public void setBehavior(String behavior) {
        this.behavior = behavior;
    }

    public Long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(Long timeStamp) {
        this.timeStamp = timeStamp;
    }
}
